package com.bang.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: ProviderUserController
 * @author: BANG
 * @Date: 2019/12/03 13:53
 * @Version: 1.0
 * @Modified By:
 * @Desc: TODO
 */
@SpringBootApplication
@EnableEurekaClient
@ComponentScan("com.bang.springcloud.*")
@MapperScan("com.bang.springcloud.persist.model.mapper")
@EnableFeignClients(basePackages = "com.bang.springcloud")
public class ProviderUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ProviderUserApplication.class, args);
    }
}
